package me.ree.zkproduct.enums;

import lombok.Getter;

public enum StatusCodeEnum {
    OK(200),

    BAD_REQUEST(400),

    NOT_AUTH(403),

    REQUIRE_LOGIN(401),

    NOT_FOUNT(404),

    CONFLICT(409),

    FAIL(500);

    @Getter
    private int statusCode;

    StatusCodeEnum(int statusCode) {
        this.statusCode = statusCode;
    }

    public int getCode() {
        return statusCode;
    }
}
